Method: T::Enum#<=>
- Defined in:
- lib/sorbet/eraser/t/enum.rb
#<=>(other) ⇒ Object
105 106 107 108 109 110 111 112 |
# File 'lib/sorbet/eraser/t/enum.rb', line 105 def <=>(other) case other when self.class self.serialize <=> other.serialize else nil end end |